class MyPageTreeChoice extends BaseTreeChoice {
    constructor(getTreeUrl) {
        super(getTreeUrl);
    }
}

let _InstanceTree = null;

//-----------------------------------------------------------------------------
// 页面初始化
//-----------------------------------------------------------------------------
function onPageReady() {
    _InstanceTree = new MyPageTreeChoice("/master/material/catalogue/tree.html");
    _InstanceTree.InitTreeObject();
}

function onPageResize() {
    var h = $(window).height();
    var w = $(window).width();

    $("#treeArea").css({width: w - 16, top: 8, left: 8, height: h - 16});
}